/**
 * JAVACC DEMO 1.0
 * @copy right apache company All rights reserved. 
 * @Package com.apache.rpc  
 */
package com.apache.rpc;

import com.apache.api.entity.BaseEntity;
import com.apache.api.vo.ParamsVo;
import com.apache.rpc.entity.Protocol;

/**
 * description:  通信协议接口,支持socket,http,https以及Webservice
 * @author Hou Dayu 创建时间：2014-10-28  
 * @Copyright(c)2014:
 */
public interface ProtocolService {

	Object doService(Protocol protocol);

	Object doService(String beanId, ParamsVo<BaseEntity> vo);
}
